// 头部导航栏样式
.header-bar {
  background: #001529;
  padding: 0;
  height: 64px; // 固定头部高度
  line-height: 64px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 24px;
    
    .logo {
      h1 {
        color: #ffffff;
        font-size: 18px;
        font-weight: 600;
        margin: 0;
      }
    }
    
    .user-info {
      .username {
        color: #ffffff;
        font-size: 14px;
      }
      
      .logout-btn {
        color: #ffffff;
        
        &:hover {
          color: #1890ff;
          background: rgba(255, 255, 255, 0.1);
        }
      }
    }
  }
}

// 响应式设计
@media (max-width: 768px) {
  .header-bar {
    .header-content {
      padding: 0 16px;
      
      .logo {
        h1 {
          font-size: 16px;
        }
      }
    }
  }
}